package com.googlecode.imanager.client.value.mask;

import java.io.Serializable;

import com.googlecode.imanager.client.event.KeyEvent;
import com.googlecode.imanager.client.util.HasTextSelection;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public interface InputMask extends Serializable {

    void maskKeyEvent(HasTextSelection target, KeyEvent e); 
    
    String maskText(String text);
    
    String getDefaultText();
    
}
